package com.rs.lc.pm.dao.mapper;

import com.rs.lc.pm.model.user.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Xavier_Wei on 2016/11/14.
 */
public interface UserMapper {
    void save(User user);

    User getByPhone(@Param("phone") String phone);

    User getByPhonePassword(@Param("phone") String phone,@Param("password") String password);

    User getByEmailPassword(@Param("email") String email,@Param("password") String password);
}
